package services.impl;


import dao.UserDao;
import services.UserServices;

public class UserServicesImpl2 implements UserServices {

    private UserDao userDao;

    @Override
    public void sayHi() {
        userDao.userInfo();
        System.out.println("大家好我是彭于晏");
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
